.class public Lcom/xingbook/audio/d/b;
.super Landroid/widget/RelativeLayout;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Landroid/widget/ImageView;

.field private b:Landroid/view/View;

.field private c:Landroid/view/View;

.field private d:Landroid/view/View;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/TextView;

.field private i:Lcom/xingbook/audio/b/a;

.field private j:Lcom/xingbook/audio/d/d;

.field private k:Lcom/xingbook/park/receiver/CollectReceiver;


# direct methods
.method public constructor <init>(Landroid/app/Activity;FLcom/xingbook/audio/d/d;)V
    .locals 10

    const v5, 0x7f0a004f

    const v9, -0x666667

    const/high16 v8, 0x41f0

    const/4 v7, 0x0

    const/4 v6, -0x2

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {p0, v0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object p3, p0, Lcom/xingbook/audio/d/b;->j:Lcom/xingbook/audio/d/d;

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {p1}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v1

    mul-int/lit16 v1, v1, 0x13b

    div-int/lit16 v1, v1, 0x230

    new-instance v2, Landroid/widget/ImageView;

    invoke-direct {v2, v0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/audio/d/b;->a:Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/xingbook/audio/d/b;->a:Landroid/widget/ImageView;

    invoke-virtual {v2, v5}, Landroid/widget/ImageView;->setId(I)V

    iget-object v2, p0, Lcom/xingbook/audio/d/b;->a:Landroid/widget/ImageView;

    sget-object v3, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v2, p0, Lcom/xingbook/audio/d/b;->a:Landroid/widget/ImageView;

    const v3, -0x333334

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setBackgroundColor(I)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v3, -0x1

    invoke-direct {v2, v3, v1}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v1, p0, Lcom/xingbook/audio/d/b;->a:Landroid/widget/ImageView;

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/audio/d/b;->a:Landroid/widget/ImageView;

    invoke-virtual {p0, v1}, Lcom/xingbook/audio/d/b;->addView(Landroid/view/View;)V

    const/high16 v1, 0x428c

    mul-float/2addr v1, p2

    float-to-int v1, v1

    new-instance v2, Landroid/view/View;

    invoke-direct {v2, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    const v3, -0xa0a0b

    invoke-virtual {v2, v3}, Landroid/view/View;->setBackgroundColor(I)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v4, -0x1

    invoke-direct {v3, v4, v1}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/4 v4, 0x3

    invoke-virtual {v3, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    invoke-virtual {v2, v3}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {p0, v2}, Lcom/xingbook/audio/d/b;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/TextView;

    invoke-direct {v2, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/audio/d/b;->h:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/audio/d/b;->h:Landroid/widget/TextView;

    invoke-virtual {v2, v9}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v2, p0, Lcom/xingbook/audio/d/b;->h:Landroid/widget/TextView;

    mul-float v3, v8, p2

    invoke-virtual {v2, v7, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v2, p0, Lcom/xingbook/audio/d/b;->h:Landroid/widget/TextView;

    const/16 v3, 0x10

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setGravity(I)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v2, v6, v1}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/4 v3, 0x3

    invoke-virtual {v2, v3, v5}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    const/16 v3, 0x9

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/high16 v3, 0x41c0

    mul-float/2addr v3, p2

    float-to-int v3, v3

    iput v3, v2, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v3, p0, Lcom/xingbook/audio/d/b;->h:Landroid/widget/TextView;

    invoke-virtual {v3, v2}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/audio/d/b;->h:Landroid/widget/TextView;

    invoke-virtual {p0, v2}, Lcom/xingbook/audio/d/b;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/LinearLayout;

    invoke-direct {v2, v0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    invoke-virtual {v2, v7}, Landroid/widget/LinearLayout;->setOrientation(I)V

    const/16 v3, 0x10

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setGravity(I)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v3, v6, v1}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/4 v1, 0x3

    invoke-virtual {v3, v1, v5}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    const/16 v1, 0xb

    invoke-virtual {v3, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {p0, v2}, Lcom/xingbook/audio/d/b;->addView(Landroid/view/View;)V

    const/high16 v1, 0x4230

    mul-float/2addr v1, p2

    float-to-int v1, v1

    const/high16 v3, 0x4240

    mul-float/2addr v3, p2

    float-to-int v3, v3

    new-instance v4, Landroid/view/View;

    invoke-direct {v4, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/xingbook/audio/d/b;->b:Landroid/view/View;

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->b:Landroid/view/View;

    const v5, 0x7f0a0050

    invoke-virtual {v4, v5}, Landroid/view/View;->setId(I)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->b:Landroid/view/View;

    const v5, 0x7f02027b

    invoke-virtual {v4, v5}, Landroid/view/View;->setBackgroundResource(I)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->b:Landroid/view/View;

    invoke-virtual {v4, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v4, v1, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v5, p0, Lcom/xingbook/audio/d/b;->b:Landroid/view/View;

    invoke-virtual {v5, v4}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->b:Landroid/view/View;

    invoke-virtual {v2, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v4, Landroid/widget/TextView;

    invoke-direct {v4, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/xingbook/audio/d/b;->e:Landroid/widget/TextView;

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->e:Landroid/widget/TextView;

    const v5, 0x7f0a0051

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setId(I)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->e:Landroid/widget/TextView;

    invoke-virtual {v4, v9}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->e:Landroid/widget/TextView;

    mul-float v5, v8, p2

    invoke-virtual {v4, v7, v5}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->e:Landroid/widget/TextView;

    const/high16 v5, 0x4302

    mul-float/2addr v5, p2

    float-to-int v5, v5

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setMinWidth(I)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->e:Landroid/widget/TextView;

    invoke-virtual {v4, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v4, v6, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v5, p0, Lcom/xingbook/audio/d/b;->e:Landroid/widget/TextView;

    invoke-virtual {v5, v4}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->e:Landroid/widget/TextView;

    invoke-virtual {v2, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v4, Landroid/view/View;

    invoke-direct {v4, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/xingbook/audio/d/b;->c:Landroid/view/View;

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->c:Landroid/view/View;

    const v5, 0x7f0a0052

    invoke-virtual {v4, v5}, Landroid/view/View;->setId(I)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->c:Landroid/view/View;

    const v5, 0x7f020278

    invoke-virtual {v4, v5}, Landroid/view/View;->setBackgroundResource(I)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->c:Landroid/view/View;

    invoke-virtual {v4, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v4, v1, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v5, p0, Lcom/xingbook/audio/d/b;->c:Landroid/view/View;

    invoke-virtual {v5, v4}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->c:Landroid/view/View;

    invoke-virtual {v2, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v4, Landroid/widget/TextView;

    invoke-direct {v4, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/xingbook/audio/d/b;->f:Landroid/widget/TextView;

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->f:Landroid/widget/TextView;

    const v5, 0x7f0a0053

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setId(I)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->f:Landroid/widget/TextView;

    invoke-virtual {v4, v9}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->f:Landroid/widget/TextView;

    mul-float v5, v8, p2

    invoke-virtual {v4, v7, v5}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->f:Landroid/widget/TextView;

    const/high16 v5, 0x4302

    mul-float/2addr v5, p2

    float-to-int v5, v5

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setMinWidth(I)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->f:Landroid/widget/TextView;

    invoke-virtual {v4, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v4, v6, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v5, p0, Lcom/xingbook/audio/d/b;->f:Landroid/widget/TextView;

    invoke-virtual {v5, v4}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->f:Landroid/widget/TextView;

    invoke-virtual {v2, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v4, Landroid/view/View;

    invoke-direct {v4, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/xingbook/audio/d/b;->d:Landroid/view/View;

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->d:Landroid/view/View;

    const v5, 0x7f0a0054

    invoke-virtual {v4, v5}, Landroid/view/View;->setId(I)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->d:Landroid/view/View;

    const v5, 0x7f02027e

    invoke-virtual {v4, v5}, Landroid/view/View;->setBackgroundResource(I)V

    iget-object v4, p0, Lcom/xingbook/audio/d/b;->d:Landroid/view/View;

    invoke-virtual {v4, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v4, v1, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v1, p0, Lcom/xingbook/audio/d/b;->d:Landroid/view/View;

    invoke-virtual {v1, v4}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/audio/d/b;->d:Landroid/view/View;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/TextView;

    invoke-direct {v1, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/audio/d/b;->g:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->g:Landroid/widget/TextView;

    const v1, 0x7f0a0055

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setId(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v9}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->g:Landroid/widget/TextView;

    mul-float v1, v8, p2

    invoke-virtual {v0, v7, v1}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->g:Landroid/widget/TextView;

    const/high16 v1, 0x4302

    mul-float/2addr v1, p2

    float-to-int v1, v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setMinWidth(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->g:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v0, v6, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v1, p0, Lcom/xingbook/audio/d/b;->g:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->g:Landroid/widget/TextView;

    invoke-virtual {v2, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/audio/d/b;)Lcom/xingbook/audio/b/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->i:Lcom/xingbook/audio/b/a;

    return-object v0
.end method

.method static synthetic b(Lcom/xingbook/audio/d/b;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->c:Landroid/view/View;

    return-object v0
.end method

.method static synthetic c(Lcom/xingbook/audio/d/b;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->f:Landroid/widget/TextView;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 8

    const/4 v7, 0x1

    const/16 v6, 0x8

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->i:Lcom/xingbook/audio/b/a;

    if-nez v0, :cond_0

    invoke-virtual {p0, v6}, Lcom/xingbook/audio/d/b;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p0, v3}, Lcom/xingbook/audio/d/b;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->h:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "\u5171"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/xingbook/audio/d/b;->i:Lcom/xingbook/audio/b/a;

    invoke-virtual {v2}, Lcom/xingbook/audio/b/a;->g()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\u9996"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->i:Lcom/xingbook/audio/b/a;

    invoke-virtual {v0, v7}, Lcom/xingbook/audio/b/a;->d(Z)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/audio/d/b;->a:Landroid/widget/ImageView;

    const/4 v2, -0x1

    const/4 v5, 0x0

    move v4, v3

    invoke-static/range {v0 .. v5}, Lcom/xingbook/c/k;->a(Ljava/lang/String;Landroid/widget/ImageView;IZZF)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->g:Landroid/widget/TextView;

    const-string v1, "\u64ad\u653e"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->i:Lcom/xingbook/audio/b/a;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/a;->c()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->b:Landroid/view/View;

    invoke-virtual {v0, v6}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->c:Landroid/view/View;

    invoke-virtual {v0, v6}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->f:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/audio/d/b;->i:Lcom/xingbook/audio/b/a;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/a;->s()I

    move-result v0

    invoke-static {v0}, Lcom/xingbook/c/t;->f(I)I

    move-result v0

    const/16 v1, 0x41

    if-eq v0, v1, :cond_2

    const/16 v1, 0x50

    if-ne v0, v1, :cond_4

    :cond_2
    iget-object v0, p0, Lcom/xingbook/audio/d/b;->b:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->i:Lcom/xingbook/audio/b/a;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/a;->a()Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->b:Landroid/view/View;

    invoke-virtual {v0, v7}, Landroid/view/View;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v7}, Landroid/widget/TextView;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->e:Landroid/widget/TextView;

    const-string v1, "\u5df2\u4e0b\u8f7d"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_1
    iget-object v0, p0, Lcom/xingbook/audio/d/b;->c:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->f:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->i:Lcom/xingbook/audio/b/a;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/a;->t()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/d/a;->a(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->c:Landroid/view/View;

    invoke-virtual {v0, v7}, Landroid/view/View;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->f:Landroid/widget/TextView;

    invoke-virtual {v0, v7}, Landroid/widget/TextView;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->f:Landroid/widget/TextView;

    const-string v1, "\u5df2\u6536\u85cf"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_3
    iget-object v0, p0, Lcom/xingbook/audio/d/b;->b:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->e:Landroid/widget/TextView;

    const-string v1, "\u4e0b\u8f7d"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_1

    :cond_4
    iget-object v0, p0, Lcom/xingbook/audio/d/b;->b:Landroid/view/View;

    invoke-virtual {v0, v6}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->d:Landroid/view/View;

    invoke-virtual {v0, v6}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_1

    :cond_5
    iget-object v0, p0, Lcom/xingbook/audio/d/b;->c:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->f:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->f:Landroid/widget/TextView;

    const-string v1, "\u6536\u85cf"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0
.end method

.method protected onAttachedToWindow()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->k:Lcom/xingbook/park/receiver/CollectReceiver;

    if-nez v0, :cond_0

    new-instance v0, Lcom/xingbook/park/receiver/CollectReceiver;

    new-instance v1, Lcom/xingbook/audio/d/c;

    invoke-direct {v1, p0}, Lcom/xingbook/audio/d/c;-><init>(Lcom/xingbook/audio/d/b;)V

    invoke-direct {v0, v1}, Lcom/xingbook/park/receiver/CollectReceiver;-><init>(Lcom/xingbook/park/receiver/a;)V

    iput-object v0, p0, Lcom/xingbook/audio/d/b;->k:Lcom/xingbook/park/receiver/CollectReceiver;

    :cond_0
    iget-object v0, p0, Lcom/xingbook/audio/d/b;->k:Lcom/xingbook/park/receiver/CollectReceiver;

    invoke-virtual {p0}, Lcom/xingbook/audio/d/b;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/receiver/CollectReceiver;->a(Landroid/content/Context;)V

    invoke-super {p0}, Landroid/widget/RelativeLayout;->onAttachedToWindow()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/xingbook/audio/d/b;->i:Lcom/xingbook/audio/b/a;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/a;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/audio/d/b;->getContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u4e13\u8f91\u5df2\u4e0b\u8f7d"

    const/4 v2, 0x1

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/xingbook/audio/d/b;->j:Lcom/xingbook/audio/d/d;

    invoke-interface {v0}, Lcom/xingbook/audio/d/d;->b()V

    goto :goto_0

    :pswitch_1
    iget-object v0, p0, Lcom/xingbook/audio/d/b;->i:Lcom/xingbook/audio/b/a;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/a;->t()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/d/a;->a(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->j:Lcom/xingbook/audio/d/d;

    iget-object v1, p0, Lcom/xingbook/audio/d/b;->i:Lcom/xingbook/audio/b/a;

    invoke-interface {v0, v1}, Lcom/xingbook/audio/d/d;->b(Lcom/xingbook/audio/b/a;)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/audio/d/b;->j:Lcom/xingbook/audio/d/d;

    iget-object v1, p0, Lcom/xingbook/audio/d/b;->i:Lcom/xingbook/audio/b/a;

    invoke-interface {v0, v1}, Lcom/xingbook/audio/d/d;->a(Lcom/xingbook/audio/b/a;)V

    goto :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/xingbook/audio/d/b;->j:Lcom/xingbook/audio/d/d;

    invoke-interface {v0}, Lcom/xingbook/audio/d/d;->a()V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x7f0a0050
        :pswitch_0
        :pswitch_0
        :pswitch_1
        :pswitch_1
        :pswitch_2
        :pswitch_2
    .end packed-switch
.end method

.method protected onDetachedFromWindow()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/audio/d/b;->k:Lcom/xingbook/park/receiver/CollectReceiver;

    invoke-virtual {p0}, Lcom/xingbook/audio/d/b;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/receiver/CollectReceiver;->b(Landroid/content/Context;)V

    invoke-super {p0}, Landroid/widget/RelativeLayout;->onDetachedFromWindow()V

    return-void
.end method

.method public setData(Lcom/xingbook/audio/b/a;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/audio/d/b;->i:Lcom/xingbook/audio/b/a;

    invoke-virtual {p0}, Lcom/xingbook/audio/d/b;->a()V

    return-void
.end method
